/* pages/search-prod-show/search-prod-show.wxss */

page {
    background: #f4f4f4;
}

/* 搜索栏 */

.fixed-box {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: #fff;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #777;
    background: #fff;
    z-index: 3;
    padding: 0 30 rpx;
    box-sizing: border-box;
    margin: 30 rpx 0;
}

.search-bar .search-box {
    position: relative;
    height: 60 rpx;
    background: #f7f7f7;
    z-index: 999;
    width: 80%;
    border-radius: 50 rpx;
    margin-right: 30 rpx;
    flex: 1;
}

.sear-input {
    height: 60 rpx;
    border-radius: 50 rpx;
    border: 0;
    margin: 0 30 rpx 0 64 rpx;
    line-height: 48 rpx;
    vertical-align: top;
    background: #f7f7f7;
    font-size: 28 rpx;
}

.search-bar .search-hint {
    font-size: 28 rpx;
    position: absolute;
    right: 30 rpx;
    top: 31 rpx;
    color: #eb2444;
}

.search-bar .search-box .search-img {
    width: 32 rpx;
    height: 32 rpx;
    position: absolute;
    left: 20 rpx;
    top: 14 rpx;
    display: block;
}

.search-bar .search-list-img {
    width: 40 rpx;
    height: 40 rpx;
    font-size: 0;
}

.search-bar .search-list-img image {
    width: 100%;
    height: 100%;
}

.fixed-box .tabs {
    width: 100%;
    height: 80 rpx;
    line-height: 80 rpx;
    padding: 10 rpx 0;
    z-index: 999;
    background: #fff;
}

.fixed-box .tabs::after {
    content: '';
    background-color: #e1e1e1;
    left: 0;
    height: 1px;
    transform-origin: 50% 100% 0;
    bottom: 0;
    position: absolute;
    display: block;
    width: 100%;
}

.fixed-box .tabs .tab-item {
    display: inline-block;
    width: 33.33%;
    text-align: center;
    font-size: 28 rpx;
}

.fixed-box .tabs .tab-item.on {
    color: #eb2444;
}

/* 横向列表 */

.prod-show {
    background: #fff;
    padding-top: 240 rpx;
}

.prod-show .prod-items {
    /* width: 375rpx; */
    float: left;
    background: #fff;
    padding-bottom: 20 rpx;
    box-sizing: border-box;
}

.prod-items {
    margin: 0 20 rpx;
}

.hotsale-item-cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* 纵向列表 */

.prod-list .cont-item {
    padding: 0 20 rpx 20 rpx 20 rpx;
    margin-top: 230 rpx;
}

.prod-list .cont-item .show-item .more-prod-pic {
    text-align: center;
    width: 170 rpx;
    height: 170 rpx;
    font-size: 0;
}

.prod-list .cont-item .show-item .more-prod-pic .more-pic {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.prod-list .cont-item .show-item {
    position: relative;
    display: flex;
    justify-content: start;
    padding: 20 rpx;
    border-radius: 20 rpx;
    background: #fff;
    margin-bottom: 20 rpx;
    box-shadow: 0 16 rpx 32 rpx 0 rgba(7, 17, 27, 0.05);
}

.prod-list .cont-item .show-item .prod-text-right {
    margin-left: 20 rpx;
    width: 75%;
}

.prod-list .cont-item .show-item .prod-text-right .cate-prod-info {
    font-size: 22 rpx;
    color: #999;
    margin: 10 rpx 0 20 rpx 0;
}

.prod-list .cont-item .show-item .prod-text-right .go-to-buy {
    font-size: 26 rpx;
    background: #eb2444;
    color: #fff;
    border-radius: 50 rpx;
    width: 150 rpx;
    text-align: center;
    padding: 8 rpx 3 rpx;
    position: absolute;
    right: 20 rpx;
    bottom: 20 rpx;
}

.prod-list .cont-item .show-item .prod-text-right .prod-text.more {
    margin: 0;
    height: 78 rpx;
    font-size: 28 rpx;
    display: -webkit-box;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #000;
}

.prod-list .cont-item .show-item .prod-text-right .prod-price.more {
    font-size: 28 rpx;
    color: #eb2444;
    font-family: arial;
}

.container .empty {
    margin-top: 100 rpx;
    text-align: center;
    color: #999;
    font-size: 26 rpx;
}

.container .empty.empty-top {
    margin-top: 300 rpx;
}
